Blendshape に In-Between Shapes を設定
2024-08-02 #Blog #KineFXResearch #ApexJoy
https://gyazo.com/223dd7e4a0e4776dea118e627f6f5a53
Blend Shape に中間形状 (In-Between Shape) を定義する
In-Between Shapes のセットアップ
https://gyazo.com/640fe60df43bf414c283c90fe7c039d9
table:blendshape
0.00 BASE
0.25 TGT_WEIGHT_25
0.75 TGT_WEIGHT_75
1.00 FOO
黄色枠の部分は通常の Blend Shape の設定
FOO, BAR 2つのチャンネルを追加
https://gyazo.com/691ee1b103522835e7a53024868a20a0
緑枠の部分が In-Between Shapes の設定
FOO に対して 2種類の形状を追加する
https://gyazo.com/e5feec329227ffc523de4498268ecd44
通常の Blendshape の追加と同じく, Character Blend Shapes Add SOP.iconCharacter Blend Shapes Add SOP で中間形状を追加する
Add as In-Between SHapes にチェックを入れ, Hero Shape Name を追加したい Channel に設定する
https://gyazo.com/fdf0cdd4cda77bea336db614c9966e30
code:vlf
setprimattrib(0, "weight", 0, 0.25);
setprimattrib(0, "weight", 1, 0.75);
Merge Packed SOP.iconMerge Packed SOP で中間形状を Pack した後に, f@weight primitive attribute をそれぞれの形状ごとに設定する
📖 APEX
Houdini 20.5.313 で blendshape (Rig component) が in-between shapes に対応した
特に追加の処理はなく, APEX BlendShape の Rig を作成する で OK
Refs
Add in-between shapes to your character blend shapes Blend shapes
Character Blend Shapes Add